Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:Authorization: Basic *****************
Request Code Samples
curl --location --request GET 'https://api-sandbox.squarepay.com.au/v2/pay-to/payments/94968d84-6551-446d-9ceb-bad3ca62e8b7?id_type=uuid' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
Responses
application/json {
"data": {
"uuid": "94968d84-6551-446d-9ceb-bad3ca62e8b7",
"reference": "Loan1337-1",
"agreement_uuid": "2e9d9df0-5c70-4bdf-b031-1caa64121602",
"amount": 10000,
"priority": "unattended",
"statement_reference": "Loan #1337",
"statement_description": "Loan Payment 1 of 10",
"last_payment": true,
"payment_date": "2024-02-01"
}
}
Modified at 2024-08-24 12:01:00