Skip to main content
GET
Retrieve Peer To Peer Transfer

Authorizations

Authorization
string
header
required

B2B’s White Label API uses OAuth2. Currently there is only one supported authentication flow:

  • clientCredentials allows you to access your own B2B account (First-Party Integration) and performs transactions against the public API. This oauth2 flow is well suited for this API, as it allows machine-to-machine communication.

Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.

Every request must be accompianed by an Authorization header with a value that follows the following schema: Bearer ACCESS_TOKEN

Path Parameters

peer_to_peer_id
string<uuid>
required

Response

Successful Response

id
string<uuid>

UUID that identifies the peer to peer transfer.

external_ref
string | null

Your idempotency key for the transfer, unique within your account. null only on transfers created before it became required.

sender
string

External ref of the end user that sent the funds.

receiver
string

External ref of the end user that received the funds.

sender_transaction_id
string<uuid>

ID of the PEER_TO_PEER transaction that debited the sender.

receiver_transaction_id
string<uuid>

ID of the PEER_TO_PEER transaction that credited the receiver.

currency
string

Symbol of the transferred currency.

amount
string<decimal>

Transferred amount, with up to 8 decimals.

created_at
string<date-time>

ISO format creation datetime.