Saved Card Create
Developing
Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
Body Params application/json
{
"card_holder": "John Due",
"card_number": "4048095010857528",
"card_expiry": "05/28",
"card_cvv": "000",
"customer": {
"external_id": "MNT1009832",
"fullname": "john due"
},
"callback_url": "http://localhost/cardsave/callback"
}
Request Code Samples
curl --location 'http://pay.tripingram.local/card/storage/save' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"card_holder": "John Due",
"card_number": "4048095010857528",
"card_expiry": "05/28",
"card_cvv": "000",
"customer": {
"external_id": "MNT1009832",
"fullname": "john due"
},
"callback_url": "http://localhost/cardsave/callback"
}'
Responses
application/json
Modified at 2024-01-30 03:12:17