Bank details change only when all required bank fields are sent.
Security
ClientKey and SecretKey
Enum:"USD""JMD""GBP""EUR""TTD""BBD""XCD""GYD""SRD"
Example:"JMD"
- Mock serverhttps://docs.dimepay.net/_mock/apis/v2/dime-v2/p2p/bank-account/{token}
- Sandbox. A separate environment with its own data; no real money
moves. Use a client key created in sandbox.
https://sandbox.api.dimepay.app/dapi/v2/p2p/bank-account/{token}
- Production. Real payments. Use a client key created in production.
https://api.dimepay.app/dapi/v2/p2p/bank-account/{token}
curl -i -X PUT \
https://docs.dimepay.net/_mock/apis/v2/dime-v2/p2p/bank-account/bac_bEBGGWJo_uNjJq3b1_TSr6c0SS_vvKx2VI \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Dime-Client: YOUR_API_KEY_HERE' \
-d '{
"recipient_bank_account_name": "string",
"recipient_bank_type": "string",
"recipient_bank_number": "string",
"recipient_bank_last_four_digits": "string",
"recipient_bank_name": "string",
"recipient_bank_branch": "string",
"recipient_bank_code": "string",
"recipient_bank_currency": "JMD",
"recipient_bank_email": "string",
"recipient_swift_code": "string",
"recipient_contact_number": "string"
}'Response
{ "object": "bank_account", "token": "bac_bEBGGWJo_uNjJq3b1_TSr6c0SS_vvKx2VI", "recipient_bank_details": {}, "last_activity_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }