Generate new Destination Account Card Form and remove old one.

POST/destination-accounts/{accountId}/card-forms

When new link is generated: if there’s no card added yet, nothing happen if there’s a card added but not-used, that card will be invalidated if there’s a card added but in-used, that card is still used in pending transfers and new card will be used for future transfers

Path Parameters

accountIdstringrequired

Response

Created

idstring
statusstring
reasonstring
reason_codestring
created_atstring<date>
deleted_atstring<date>
expires_atstring<date>
used_atstring<date>
submitted_atstring<date>
charged_atstring<date>
hosted_urlstring<uri>

The link to the card adding form (front end). Card form is only valid for a certain time. To generate the new link, please call POST /destination-accounts/{accountId}/card_form. Please checkout the note for that api

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring

Error defines errors may be returned from the system.

messagestring
errorsobject[]
Show errors properties
errorCodestring
messagestring
Request
curl -X POST "https://api.uat.triple-a.io/api/fiat-payout/v1/destination-accounts/<accountId>/card-forms" \
  -H "Authorization: Bearer <token>"
Response
{
  "id": "string",
  "status": "string",
  "reason": "string",
  "reason_code": "string",
  "created_at": "2024-01-01",
  "deleted_at": "2024-01-01",
  "expires_at": "2024-01-01",
  "used_at": "2024-01-01",
  "submitted_at": "2024-01-01",
  "charged_at": "2024-01-01",
  "hosted_url": "string"
}