Back to All

Request ID cardToken

Tegno un probelma con respecto a la generacion del reques ID por medio de mi tarjeta de debito

$response = $client->request('POST', 'https://api-secure.payclip.com/card_tokens', [
'body' => '{
"cardholder_name":"John Doe Doe",
"card_number":"4111111111111111",
"card_exp_month":"05",
"card_exp_year":"28",
"cvv":"111"
}',
'headers' => [
'Authorization' => 'Basic dGVzdF8xMGM2NDEwMS01MzlkLTQ1NDUtOGJiMi1kM2NkNjQ3Y2EzYTE6Y2U4ZGZmYTUtZjgxNC00ZGQyLWI4MzQtYWIyYjdjYzQ5M2Jl',
'accept' => 'application/json',
'content-type' => 'application/json',
],
]);

        echo $response->getBody()		

el problema cuando hago la prueba por medio de postman
me sale el siguiente error.

403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: J3WfK8waXFSZ0eUniXsR5kNWv5vEB8k5X3hiW50N5G3tu_tcVc31rg==