Fiat Payments
Initiate Payout
Changed onCreates a fiat payout with an existing beneficiary or by adding a new one.
post/payment/v1/payouts
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Idempotency-Keystring uuid required
Example:1e74002e-74a1-48fd-b707-147c3187a3e1
Unique request identifier (any string, preferably in UUID format).
Request body
Example request
{
"walletId": "a:24092328494070:G5i4XZ9:1",
"amount": {
"value": 1000,
"currency": "USD"
},
"paymentReference": "Payment for invoice 12345",
"instruction": {
"type": "FIAT",
"paymentMethod": "ACH",
"beneficiary": {
"details": {
"beneficiaryType": "SELF_OWNED",
"transferDestination": "LOCAL",
"currency": "USD",
"individualDetails": {
"firstName": "John",
"lastName": "Doe",
"dateOfBirth": "01/01/1980"
},
"address": {
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"region": "California",
"city": "Los Angeles",
"country": "US",
"postCode": "90001"
},
"bankDetails": {
"accountNumber": "1234567890",
"code": "ABC123",
"address": {
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"region": "California",
"city": "Los Angeles",
"country": "US",
"postCode": "90001"
},
"accountType": "SAVINGS",
"bankTypeIdentifier": "SWIFT",
"intermediaryBanks": [
{
"name": "Intermediary Bank 1",
"accountNumber": "0987654321",
"code": "XYZ987"
}
]
}
}
}
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
},
"requestDetails": {
"originator": {
"ipAddress": "192.168.1.1"
}
}
}Response
Created
Example response
{
"transactionReference": "123e4567-e89b-12d3-a456-426614174000",
"paymentReference": "Invoice #12345",
"amount": {
"value": 1000,
"currency": "USD"
},
"fee": {
"value": 10,
"currency": "USD"
},
"walletId": "a:24092328494070:G5i4XZ9:1",
"status": "PROCESSING",
"createdAt": "2024-09-26T14:30:00Z",
"details": {
"type": "FIAT",
"beneficiary": {
"entityType": "COMPANY",
"companyDetails": {
"name": "Doe Corp"
},
"address": {
"addressLine1": "123 Bank St",
"addressLine2": "Suite 500",
"region": "New York",
"city": "New York",
"countryCode": "US",
"postCode": "10001",
"fullAddress": "123 Bank St Suite 500"
},
"bankAccount": {
"format": "IBAN",
"bankName": "ABC Bank",
"accountNumber": "GB29MDTR60000131926819",
"bankCode": "MDTRGB2L",
"bankAddress": {
"addressLine1": "123 Bank St",
"addressLine2": "Suite 500",
"region": "New York",
"city": "New York",
"countryCode": "US",
"postCode": "10001",
"fullAddress": "123 Bank St Suite 500"
}
},
"correspondentBic": "ABCDEF12"
}
},
"metadata": {
"source": "api",
"orderId": "ORD-48213"
}
}Changes
- info
endpoint added
- info