Manage custom payment methods
Create, retrieve, update, and delete instruction or redirect payment methods.
Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://sell.app/api/v2/payment-methods/custom"{
"data": [
{
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://sell.app/api/v2/payment-methods/custom" \ -H "Content-Type: application/json" \ -d '{ "type": "instructions", "name": "string" }'{
"data": {
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Path Parameters
Store-scoped custom payment method ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://sell.app/api/v2/payment-methods/custom/string"{
"data": {
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "Rule not found."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Path Parameters
Store-scoped custom payment method ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://sell.app/api/v2/payment-methods/custom/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "Rule not found."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Path Parameters
Store-scoped custom payment method ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://sell.app/api/v2/payment-methods/custom/string" \ -H "Content-Type: application/json" \ -d '{ "type": "instructions", "name": "string" }'{
"data": {
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "Rule not found."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}Authorization
bearerAuth storeAuth Provide your SellApp API key as a bearer token.
In: header
Select the SellApp store for this API request.
In: header
Path Parameters
Store-scoped custom payment method ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://sell.app/api/v2/payment-methods/custom/string"{
"data": {
"id": "string",
"type": "instructions",
"name": "string",
"description": "string",
"instructions": "string",
"steps": [
"string"
],
"redirect_url": "http://example.com",
"skip_interstitial_page": true,
"show_processing_status_page": true,
"require_proof_of_payment": true,
"enabled": true,
"sort_order": 0,
"icon_url": "http://example.com",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "Rule not found."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}