In order to test out the functionality of your app we provide you with a sandbox testing environment allowing you to make payments and charges without affecting your balance. The sandbox test user has a user id 145434160922624933, email "venmo@venmo.com" and phone "15555555555". All requests must be made to https://sandbox-api.venmo.com/v1
.
Make a successful payment to a user.
Permissions:
Parameter | Description |
---|---|
access_token (required) | Your own access token used for authentication to the API. |
user_id | 145434160922624933 |
venmo@venmo.com | |
phone | 15555555555 |
note (required) | A message to accompany the payment. |
amount (required) | 0.10 |
POST https://sandbox-api.venmo.com/v1/payments
This typically happens when a user has not provided a funding source to their account and there is not enough funds in their balance to cover the payment.
Permissions:
Parameter | Description |
---|---|
access_token (required) | Your own access token used for authentication to the API. |
user_id | 145434160922624933 |
venmo@venmo.com | |
phone | 15555555555 |
note (required) | A message to accompany the payment. |
amount (required) | 0.20 |
POST https://sandbox-api.venmo.com/v1/payments
A payment will be in pending status if it is sent to a phone number or email address that is not yet registered with Venmo. You need to pass in either email or phone.
Permissions:
Parameter | Description |
---|---|
access_token (required) | Your own access token used for authentication to the API. |
user_id | 145434160922624933 |
venmo@venmo.com | |
phone | 15555555555 |
note (required) | A message to accompany the payment. |
amount (required) | 0.30 |
POST https://sandbox-api.venmo.com/v1/payments
When a charge is made to a trusted friend then it is automatically completed.
Permissions:
Parameter | Description |
---|---|
access_token (required) | Your own access token used for authentication to the API. |
user_id | 145434160922624933 |
venmo@venmo.com | |
phone | 15555555555 |
note (required) | A message to accompany the payment. |
amount (required) | -0.10 |
POST https://sandbox-api.venmo.com/v1/payments
All non-trust charges require approval by the target user.
Permissions:
Parameter | Description |
---|---|
access_token (required) | Your own access token used for authentication to the API. |
user_id | 145434160922624933 |
venmo@venmo.com | |
phone | 15555555555 |
note (required) | A message to accompany the payment. |
amount (required) | -0.20 |
POST https://sandbox-api.venmo.com/v1/payments