HomeGuidesChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question
Back to all

Undocumented responses

I get a bad request when testing the update integrator endpoint, and a forbidden when calling the register card user end point.

curl --request PATCH
--url https://sandbox.spendjuice.com/card-integrators/update
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsIn.....'
--data '
{
"business_address": "Lekki Phase 1"
}
'
the curl request for the update integrator endpoint.

and

curl --request POST
--url https://sandbox.spendjuice.com/card-integrators/13cefc68-df6a-415d-ba5d-b3763714783b/register-user
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'authorization: Bearer eyJhbGciOiJIUzUxMiIs........'
--data '
{
"address": {
"city": "Lekki",
"country": "Nigeria",
"line1": "Lekki Phase 1",
"zip_code": "101232"
},
"email": "[email protected]",
"first_name": "Godwin",
"last_name": "Benedict",
"phone_number": "+2347082408501",
"id_number": "00000000000",
"id_type": "BVN",
"user_photo": " "
}
'
curl request for the register card user endpoint.
please can i get a response today. and the same token works other endpoints so its not the token.
thanks