Alipay APIs
Alipay APIs
Call an API
|
|
---|---|
|
|
|
|
|
|
---|---|
|
|
|
|
|
|
POST /ams/api/v1/payments/inquiryPayment HTTP/1.1 Accept : application/json, text/plain, */* Content-Type : application/json; charset=UTF-8 Request-Time : 1685599933871 client-id : 5J5XSU7Y2Y182W01981 Signature : algorithm=RSA256,keyVersion=1,signature=*** { "paymentId" : "20200429114010800100188850266791455" }
{ "actualPaymentAmount" : { "currency" : "PHP" , "value" : "1314" }, "paymentAmount" : { "currency" : "PHP" , "value" : "1314" }, "paymentId" : "20200513114010800100188770269589293" , "paymentRequestId" : "REQUEST_20200513161204" , "paymentResultCode" : "SUCCESS" , "paymentResultMessage" : "success" , "paymentStatus" : "SUCCESS" , "paymentTime" : "2020-05-13T01:12:52-07:00" , "result" : { "resultCode" : "SUCCESS" , "resultMessage" : "success." , "resultStatus" : "S" } }
Explore more about Alipay APIs
-
Overview Before you make any payments, it is important to understand how Alipay APIs works and how requests and responses are structured. This section presents general information (such as message structure and message transmission workflow) of online messages between your system and Alipay. -
Sign a request and validate the signature To guarantee that data has not been altered in transmission, digital signatures can be adopted. A digital signature is mandatory for all messages. -
Message encoding To prevent errors or ambiguity caused by special characters enclosed in a message, encode the message properly before transmitting it. -
API change history Release notes about Alipay APIs.
APIs and notifications for Alipay payment products
Online payments
In-store payments