Account Funding
This API is only available to beta users.
Type of funding source to search
PISP
Possible values: Currency supported by the funding source
GBP
Possible values: Authorization header containing your API Token
Nonce used to generate the payload signature
Payload signature
Date of the request un UTC/GMT
Returns the list of sources
Forbidden
GET /v1/partner/payments/funding/sources?type=PISP¤cy=AFN HTTP/1.1
Host: api-url
Accept: */*
[
{
"id": "f49281c0-0840-55bd-95b3-3b46d1d0e9f1",
"name": "John Doe",
"type": "PISP",
"logo": "https://app-static.algbra.com/banklogo/mock-payments-gb-redirect.png"
}
]
Authorization header containing your API Token
Nonce used to generate the payload signature
Payload signature
Date of the request un UTC/GMT
Type of funding source.
PISP
Possible values: ID of the funding source provider.
f49281c0-0840-55bd-95b3-3b46d1d0e9f1
ID of the destination account to fund.
e0cab2dd-739f-43de-b131-3e423e935bf1
Reference identifier provided by partner.
ae588135-0391-42a8-a4e4-e8e7645fa707
Amount of the funding in minor units (e.g., for £1.29 enter 129).
129
Idempotency key to prevent duplicate funding operations.
1483d25d-3f00-4d39-90ce-2379a130becd
Returns payment details and redirect url
Input validation error
Forbidden
Not Found
Unprocessable entity
POST /v1/partner/payments/funding/customers/{customerId}/initiate HTTP/1.1
Host: api-url
Content-Type: application/json
Accept: */*
Content-Length: 283
{
"fundingSourceType": "PISP",
"fundingSourceProviderId": "f49281c0-0840-55bd-95b3-3b46d1d0e9f1",
"destinationAccountId": "e0cab2dd-739f-43de-b131-3e423e935bf1",
"externalReference": "ae588135-0391-42a8-a4e4-e8e7645fa707",
"amount": 129,
"idempotencyKey": "1483d25d-3f00-4d39-90ce-2379a130becd"
}
{
"paymentId": "1489dd60-aa06-48a6-a267-e7d4a9a84200",
"transaction": {
"transactionId": "68c2a19131a3b726fe47fdda",
"uniqueToken": "1489dd60-aa06-48a6-a267-e7d4a9a84200",
"origin": "TRANSFER",
"state": "COMPLETED",
"category": "TRANSFERS",
"impactType": "CREDIT",
"customerId": "a2b9649e-df7f-4349-adff-1c57283fef10",
"amount": 129,
"currencyCode": "GBP",
"description": "Sent from Algbra",
"exchangeRate": "1.0",
"exchangeCurrencyCode": "GBP",
"sourceCounterparty": {
"type": "PERSONAL",
"details": {
"firstName": "John",
"lastName": "Doe"
},
"accountCurrency": "GBP",
"accountReferenceType": "UK_ACCOUNT",
"accountReference": {
"type": "UK_ACCOUNT",
"accountNumber": "12345678",
"sortCode": "010102"
}
},
"destinationCounterparty": {
"type": "PERSONAL",
"details": {
"firstName": "John",
"lastName": "Doe"
},
"accountCurrency": "GBP",
"accountReferenceType": "UK_ACCOUNT",
"accountReference": {
"type": "UK_ACCOUNT",
"accountNumber": "12345678",
"sortCode": "010102"
}
},
"transactionDate": "2025-01-01T10:32:01.162Z",
"transferMetadata": {
"rails": "FASTER_PAYMENTS",
"transactionProgress": [
{
"event": "COMPLETED",
"date": "2025-01-01T10:16:49.621Z"
}
]
}
},
"redirectUrl": "https://pay-mock-connect.truelayer-sandbox.com/login/49948bbc-c80a-41b5-b008-9e7509e2efe4#token=xyz"
}
Last updated
Was this helpful?