Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions source/includes/_fund_acceptance.md
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,46 @@ Reason | Message
**Invalid API Key** | Invalid API Key
**Restricted Access** | User does not have access to the payment link


## API Send WhatsApp

Use this API to send a payment link and/or invoice link through WhatsApp (using OY’s pre-defined template).

### HTTPS Request

**[Production]** POST https://partner.oyindonesia.com/api/whatsapp/send-link
**[Staging]** POST https://api-stg.oyindonesia.com/api/whatsapp/send-link


### Request Headers

Parameters | Type | Description
---- | ---- | ----
x-api-key | String | API Key used to connect to this particular endpoint
x-oy-username | String | Your OY! account username

### Request Parameters

Parameters | Type | Required | Description
---- | ---- | ------ | -------
partner_tx_id| String(255) | TRUE| ID generated by Partner for a specific transaction
whatsapp_number | String(255) | TRUE| The WhatsApp number of your users. (format 628xxxxxxxxxx)

### Response Parameters

Parameters | Type | Description
---- | ---- | ----
status | object| Status of response in Object {code: <status_code>, message: <status_message>}.
data |object| The API's response data in an Object, details are in the Response Data Parameters section

### Response Data Parameters

Parameters | Type | Description
---- | ---- | ----
partner_tx_id| String(255)| ID generated by Partner for a specific transaction
whatsapp_number |String(255)| The WhatsApp number of your users. (format 628xxxxxxxxxx)
success_sent |Boolean| Filled with TRUE if a WA has successfully been sent to the WhatsApp number specified

## Pop!: Seamless Payment Experience

With Pop!, displaying our payment link page on your front-end web environment is now made easier than ever. Our payment link offers a seamless user experience in a way that can be catered to your UI needs.
Expand Down