Debit/Credit Cards
Fortress supports debit/credit card payments and funding of accounts through our APIs with an optional front end widget soon to follow. The implementation for funding via cards is a simple 2 step process:
- Capture end user inputs for entering their card information
- Use the
externalAccount
created after card linking to transfer funds into an account.
POST api/trust/v1/external-accounts/card
//Sample Request
{
"identityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"firstName": "John",
"lastName": "Doe",
"address": {
"street1": "123 First Street",
"postalCode": "58736",
"city": "Omaha",
"state": "NE",
"country": "US"
},
"number": "4242424242424242",
"expirationMonth": 10,
"expirationYear": 2030,
"cvv": "123"
}
//Sample Response
{
"id": "475j5f64-5717-4562-b3fc-2c963f66a573",
"identityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "card",
"accountNumberLast4": "4242",
"nameObfuscated": "J******E",
"cardVerificationStatus": "none"
}
POST api/trust/v1/payments
//Sample Request
{
"source": {
"externalAccountId": "475j5f64-5717-4562-b3fc-2c963f66a573"
},
"destination": {
"custodialAccountId": "A3CA08AB-3058-4C3C-81E7-51DA24B171FF",
},
"comment": "string",
"funds": 100
}
Updated 7 months ago