Retrieve a settlement
/settlements/{settlement_id}Retrieves the details of a settlement.
Headers
AuthorizationstringRequiredPath parameters
settlement_idstringRequiredUnique identifier for the Settlement resource.
Returns
Returns the settlement object.
idstringUnique identifier for the Settlement.
resourcestringString representing the object's type.
amountintegerSettlement amount, in the smallest currency unit.
amount_human_readablestringSettlement amount in human-readable format.
createdstringTime at which the object was created, in ISO 8601 format.
currencystringThree-letter ISO currency code, in lowercase.
methodstring or nullSettlement method, if applicable. One of wire, ach, rtp, sepa, or card_payout.
period_endstring or nullEnd of the settlement period, if applicable.
Show 6 more attributesShow fewer attributes
period_startstring or nullStart of the settlement period, if applicable.
test_modebooleanWhether the settlement was created in the sandbox.
typestringType of settlement. Always bank_account.
payment_datestring or nullTime at which the settlement was paid out, in ISO 8601 format, if known.
settlement_accountstringUnique identifier for the settlement account the settlement was paid to. Present only when the settlement has a settlement account.
settlement_account_detailsobjectDetails of the settlement account and legal entity the transaction is booked to. Present only when the object is linked to a settlement account or legal entity.
Show 5 child attributesHide child attributes
processorstringThe processor of the settlement account.
currencystringThree-letter ISO currency code of the settlement account, in lowercase. Omitted for settlement accounts without a currency.
namestringName of the settlement account.
entitystringUnique identifier for the legal entity, if applicable.
entity_detailsobjectDetails of the legal entity, if applicable.
Show 2 child attributesHide child attributes
legal_namestringLegal name of the entity.
countrystringTwo-letter ISO country code of the entity's billing address.
Errors
400401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.404500503Retry-After, or after a few seconds when there's none.