One of our clients uses SKY for their payment system so I've been working my way through learning this system.
I can successfully perform the OAuth requests and get the access_token.
I'm now trying to do a test charge to a fake credit card number, but so far all I can get back is “Bad Request”.
I'm following the example from this page:
and it says only the amount and payment_configuration_id are required, but it seems like it would need some kind of credit card info as well, so I've included that in the request body.
I made a successful call to “paymentconfigurations” with my id and access token, so I know those are working.
I'm sending the “CreateTransaction” JSON request body below:
{
"amount":100,
"credit_card": {
"exp_month":2,
"exp_year":2026,
"name":"DC Test",
"number":"4111111111111111"
},
"csc":"234",
"payment_configuration_id":"280baa2b-ee01-4f47-9a1f-b58d44d5f79d"
}
What other information do I need to pass in this request so it will not be rejected as a “bad request?”