List payment links
Your payment links in your credential's environment, newest first, with what each has collected.
PartnerBasicAuthorizationBasic <token>HTTP Basic auth: your AppId as the username and your AppKey as the password. Sandbox and Live have separate credentials.
page?integerPage number, starting at 1.
int321pageSize?integerLinks per page, at most 100.
int3220environment?integerSandbox or Live. Only for dashboard sessions; an API credential always gets its own environment.
int3201OK
- response
page?integerThe page returned, starting at 1.
int32pageSize?integerLinks per page (at most 100).
int32totalCount?integerHow many links there are.
int32links?array<>Your payment links, newest first, without their payments.
curl -X GET 'https://gateway.staging.wallet2cash.com/api/v1/payment-links'{ "page": 0, "pageSize": 0, "totalCount": 0, "links": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "url": "string", "environment": "string", "title": "string", "description": "string", "amount": 0, "currency": "string", "reference": "string", "singleUse": true, "status": "string", "expiresAt": "2019-08-24T14:15:22Z", "redirectUrl": "string", "createdDate": "2019-08-24T14:15:22Z", "paidCount": 0, "paidTotal": 0.1, "payments": [ { "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc", "partnerOrderId": "string", "msisdn": "string", "amount": 0.1, "status": "string", "failureCode": "string", "createdDate": "2019-08-24T14:15:22Z" } ] } ]}Get your settlement summary
Money in, money out and fees per day or per month.
Create a payment link
Creates a hosted payment page your customer pays on by MTN MoMo: send them the returned url (by SMS, WhatsApp, email, a QR code). Each payment is an ordinary MoMo deposit to your balance, with its own webhook; its partnerOrderId starts with pl-{code}-.
