I'm using APi conncetor and this api https://tappayments.api-docs.io/2.0/charges/create-a-charge to make a charge request . i successfully created the charge request before and and it was workig well returning the customer id and card id but now suddnely i can return virables but not the customer id & card id ,any tips how to slove it my goal to use the cus_ id for & card_id for fututr payment.
{
"amount": 1,
"currency": "SAR",
"threeDSecure": true,
"save_card": true,
"description": "Test Description",
"statement_descriptor": "Sample",
"metadata": {
"udf1": "test 1",
"udf2": "test 2"
},
"reference": {
"transaction": "txn_0001",
"order": "ord_0001"
},
"receipt": {
"email": false,
"sms": true
},
"customer": {
"first_name": "test",
"middle_name": "test",
"last_name": "test",
"email": "test@test.com",
"phone": {
"country_code": "965",
"number": "50000000"
}
},
"merchant": {
"id": ""
},
"source": {
> here i'm putting the genetreated token id from the JS card that genarte toke for the card
"id": "toke in"
},
"post": {
"url": "http://your_website.com/post_url"
},
"redirect": {
"url": "http://your_website.com/redirect_url"
}
}