I create a business account and validated my info. I created a REST app, and got my API credentials: However, whether in app code or in straight curl I cannot get past this response: {
"responseEnvelope": {
"timestamp": "2017-08-26T12:17:43.633-07:00",
"ack": "Failure",
"correlationId": "f13da1d9917dd",
"build": "37103655"
},
"error": [
{
"errorId": "520002",
"domain": "PLATFORM",
"subdomain": "Application",
"severity": "Error",
"category": "Application",
"message": "Internal Error"
}
]
} An example curl input (with variable redacted) is: curl -X POST \
https://svcs.sandbox.paypal.com/AdaptivePayments/Pay \
-H 'x-paypal-application-id: APP-80W284485P519543T' \
-H 'x-paypal-response-data-format: JSON' \
-H 'x-paypal-security-password: ############################' \
-H 'x-paypal-security-signature: ###########################' \
-H 'x-paypal-security-userid: ########-facilitator@##########.com' \
-F actionType=PAY \
-F currencyCode=USD \
-F cancelUrl=#### CANCEL URL ##### \
-F returnUrl=### RETURN URL ##### \
-F 'receiverList["receiver"][0]["amount"]=546.00' \
-F 'receiverList["receiver"][0]["email"]=#########-facilitator@########.com' \
-F 'receiverList["receiver"][0]["primary"]=true' \
-F 'requestEnvelope["errorLanguage"]=en_US' \
-F 'requestEnvelope["detailLevel"]=ReturnAll' I can use the same credentials on non Adaptive Enpoints, not sure what I need to do to get tpast this.
... View more