Create Token
Create and charge card tokens
Last updated
Create and charge card tokens
Last updated
curl --location 'https://seerbitapi.com/api/v2/payments/create-token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data-raw '{
"publicKey": "YOUR_PUBLIC_KEY",
"amount": "50",
"fullName": "Jane Smith",
"mobileNumber": "03447522256",
"redirectUrl":"http://example.com",
"currency": "NGN",
"country": "NG",
"paymentReference": "204g4de74a7ib0j18dg6bi521aiaejf4",
"email": "[email protected]",
"paymentType": "CARD",
"cardNumber": "512348984984988883",
"expiryMonth": "01",
"expiryYear": "25",
"cvv":"000",
"pin":"2222"
}'{
"status": "SUCCESS",
"data": {
"code": "S20",
"message": "Transaction is pending",
"payments": {
"paymentReference": "{{paymentReference}}",
"linkingReference": "SEERBIT60416746746373661414266005",
"redirectUrl": "https://seerbitapi.com/50E84E82C25D"
}
}
}