Money-out

Get a withdrawal

Returns the status of one withdrawal by its reference.

GEThttps://api.klasstack.com/v1/withdrawals/{reference}

  • moneyOut:read
  • Billable
  • Live key only
  • Test key: refused

Authorizations

  • Authorizationstringheaderrequired

    Your secret key as a bearer token, in the form Bearer ks_live_sk_... or Bearer ks_test_sk_.... Keep it on your server. A test key is refused here.

Path Parameters

  • referencestringpathrequired

    Example: WD-3f6c1a2e9b4d4c7a

Response

200, application/json

  • dataobjectrequired

    Show child attributes
    • referencestringrequired

    • statusstringrequired

    • amountnumberrequired

      Major units (naira).

    • currencystringrequired

    • payoutAccountIdnumber or nullrequired

      The registered payout account; null for a withdrawal made in the dashboard.

    • accountNumberMaskedstring or nullrequired

    • accountNamestring or nullrequired

    • narrationstring or nullrequired

    • requestedOnstringrequired

      ISO 8601, UTC.

    • updatedOnstringrequired

      ISO 8601, UTC.

  • metaobjectrequired

    Show child attributes
    • request_idstringrequired

      Also returned in the X-Request-ID header.

    • paginationobject

      Show child attributes
      • limitintegerrequired

        Required range: x <= 100

      • has_morebooleanrequired

      • next_cursorstring or nullrequired

        Send this back as cursor for the next page. Opaque: never parse it.

Errors

What each code means, and what to do about it, is in the errors guide.

Webhook events

This call triggers no webhook event.