MobileWalletPartner Gateway Docs
API referencePayment Links

List payment links

Your payment links in your credential's environment, newest first, with what each has collected.

GET
/api/v1/payment-links

Authorization

PartnerBasic
headerAuthorizationBasic <token>

HTTP Basic auth: your AppId as the username and your AppKey as the password. Sandbox and Live have separate credentials.

Query Parameters

page?integer

Page number, starting at 1.

Formatint32
Default1
pageSize?integer

Links per page, at most 100.

Formatint32
Default20
environment?integer

Sandbox or Live. Only for dashboard sessions; an API credential always gets its own environment.

Formatint32
Value in01

Response Body

OK

  1. response
page?integer

The page returned, starting at 1.

Formatint32
pageSize?integer

Links per page (at most 100).

Formatint32
totalCount?integer

How many links there are.

Formatint32
links?array<>

Your payment links, newest first, without their payments.

Example Request
curl -X GET 'https://gateway.staging.wallet2cash.com/api/v1/payment-links'
Example Response
{  "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"        }      ]    }  ]}