|
| 1 | +--- |
| 2 | +title: "Using Pay to Card" |
| 3 | +description: "Provide faster access to funds for your recipients by pushing funds to cards." |
| 4 | +icon: "credit-card" |
| 5 | +--- |
| 6 | + |
| 7 | +Powered by Visa Direct and Mastercard Send, Runa Pay to Card is the fastest and simplest way to send funds directly to your recipients' bank account. |
| 8 | + |
| 9 | +Pay to Card facilitates instant transfers to other accounts, powering use cases like gig worker payments, rewards, incentives, insurance claims, corporate rebates, payroll, government aid, and reimbursements. |
| 10 | + |
| 11 | +<Info> |
| 12 | + To get access to Pay to Card, please reach out to your Account Manager or |
| 13 | + email support@runa.io. |
| 14 | +</Info> |
| 15 | + |
| 16 | +## Fetching the Pay to Card products |
| 17 | + |
| 18 | +Retrieve the Pay to Card products using the [product list endpoint](/reference/2024-02-05/endpoint/products/list). You can identify these products by the `payout_type` field, which will be set to `payment`. Each Pay to Card product supports a specific currency and country. You can refer to the [product listing guide](/features/product-catalog) for more information on this endpoint. |
| 19 | + |
| 20 | +```json title="Pay to Card product example, fields truncated for brevity" icon="file" expandable |
| 21 | +{ |
| 22 | + "code": "P2C-US", |
| 23 | + "name": "Pay To Card US", |
| 24 | + "currency": "USD", |
| 25 | + "state": "LIVE", |
| 26 | + "payout_type": "payment", |
| 27 | + "is_orderable": true, |
| 28 | + "availability": "realtime" |
| 29 | +} |
| 30 | +``` |
| 31 | + |
| 32 | +## Placing a Pay to Card order |
| 33 | + |
| 34 | +To make an order for a payment you simply specify the Pay to Card product code for the currency and country you wish to send funds in. |
| 35 | + |
| 36 | +For our example, we will be using the `P2C-US` product code for a $10 payment to a recipient. The payment will be sent to the recipient's email address via the `EMAIL` distribution method. |
| 37 | + |
| 38 | +```http title="Example pay to card order" icon="globe" expandable |
| 39 | +POST https://api.runa.io/v2/order |
| 40 | +Content-Type: application/json |
| 41 | +X-Api-Key: <your API key> |
| 42 | +
|
| 43 | +{ |
| 44 | + "payment_method": { |
| 45 | + "type": "ACCOUNT_BALANCE", |
| 46 | + "currency": "USD" |
| 47 | + }, |
| 48 | + "items": [ |
| 49 | + { |
| 50 | + "face_value": 10, |
| 51 | + "distribution_method": { |
| 52 | + "type": "EMAIL", |
| 53 | + "email_address": "<your recipient's email address>" |
| 54 | + }, |
| 55 | + "products": { |
| 56 | + "type": "SINGLE", |
| 57 | + "values": ["P2C-US"] |
| 58 | + } |
| 59 | + } |
| 60 | + ] |
| 61 | +} |
| 62 | +``` |
| 63 | + |
| 64 | +### Distribution methods |
| 65 | + |
| 66 | +In the example above we used the `EMAIL` distribution method to send the payment to the recipient's email address. |
| 67 | + |
| 68 | +- You can also use the `RECIPIENT` distribution method to send the payment to a known recipient. |
| 69 | +- If you want to handle the distribution of the payment link yourself, use the `PAYOUT_LINK` distribution method. |
| 70 | + |
| 71 | +Refer to the [order endpoint reference](/reference/2024-02-05/endpoint/orders/create) for more information on the request schema and other options available. |
| 72 | + |
| 73 | +## Recipient redemption experience |
| 74 | + |
| 75 | +<img className="block dark:hidden" src="/assets/graphics/p2c-flow-light.png" /> |
| 76 | +<img className="hidden dark:block" src="/assets/graphics/p2c-flow-dark.png" /> |
| 77 | + |
| 78 | +When a recipient opens the payment link, they will be guided through the following flow on their first redemption: |
| 79 | + |
| 80 | +1. Enter their email address to authenticate |
| 81 | +2. Securely enter their card details |
| 82 | +3. Receive funds in their bank account |
| 83 | + |
| 84 | +For a returning recipient, they will only need to enter their email address to authenticate. The previously used card details are saved for future redemptions. |
| 85 | + |
| 86 | +## Next steps |
| 87 | + |
| 88 | +<CardGroup cols="2"> |
| 89 | + <Card title="Testing" icon="flask" href="/features/pay-to-card/testing"> |
| 90 | + Test out the pay to card redemption journey in our playground environment. |
| 91 | + </Card> |
| 92 | + <Card title="Support" icon="circle-info" href="/features/pay-to-card/support"> |
| 93 | + Read through the potential failure scenarios and suggested resolution for |
| 94 | + each. |
| 95 | + </Card> |
| 96 | +</CardGroup> |
0 commit comments