Skip to main content
Partner logo
Buybox
Buybox enables you to build an optimized B2C purchase path to maximize the revenue generated by your gift card from your e-commerce and physical stores.
Source: https://www.buybox.net/produits/b2c

Features

Integration type

Embed (no redirection)
Tokenization

Yes

Payment Flow

1-step payment flow : Capture (direct debit)
2-step payment flow : Authorization + Capture
3-step payment flow : Pending Authorization + Authorization + Capture (asynchronous)

How to test?

Test Gift Cards

Code numberPin Code
X342304R396373238531
X342305V342366017962
A342306M519018204269

Data Mapping & Mandatory Fields

Below is the mapping between your Create Session request and the fields expected by this payment method.

Purse Session fieldMandatory
amountYes
order.redirectionYes
order.referenceYes
order.currency_codeYes
customer.referenceYes

Payment Labels

LabelMethodPayment type
buyboxgiftcardsecondary

Actions

Status

PSP statusStateCodeDescription
SESSION_DATA_NOT_OKERRORBAD_REQUESTSession data doesn't meet the partner's requirements
SUCCESSSUCCESSSUCCEEDEDSuccessful operation
ERRORERRORFAILEDFailed operation
001ERRORFAILEDMissing parameter.
002ERRORFAILEDParameter is empty.
003ERRORFAILEDUnexpected parameter.
004ERRORFAILEDParameter is null.
005ERRORFAILEDParameter is not INT.
006ERRORFAILEDParameter is not FLOAT.
007ERRORFAILEDParameter is negative.
008ERRORFAILEDWrong method.
009ERRORAUTHENTICATION_CHECK_FAILAuthentication error, Cant find triplet (USR/PWD/SIGNATURE).
010ERRORFAILEDThis shop name already exist in our database. Please change his name.
011ERRORINSUFFICIENT_FUNDSThere is not enough money on this card to execute the method DebitCard.
012ERRORFAILEDThis CODE is already used or doesn’t exist. Use another value of CODE.
013ERRORFAILEDThis shop doesn’t exist. Please create him or use another id.
014ERRORFAILEDThis BOUSER doesn’t exist. Please change it.
015ERRORFAILEDCan’t use this SHOPID with the identified client. Please change it.
016ERRORFAILEDCan’t cancel this card because it was already used.
017ERRORCARD_IS_NOT_ACTIVEThis CODE isn’t activated. Can’t deactivate or debit it. Please activate this code to use it.
018ERRORWRONG_CARD_DATACan’t use this PINCODE with the actual value of CODE.
019ERRORFAILEDThis parameter is too long to be insert in database.
020ERRORINSUFFICIENT_FUNDSThere is no more money on this card. Use another card.
021ERRORFAILEDCan’t use this CODE with the identified client. Please change it.
022ERRORFAILEDThis version doesn’t exist. Refer to the documentation to know which version is usable.
023ERRORFAILEDCan’t use this SUBJECT with the identified client. Please change it.
024ERRORFAILEDCan’t use this SHOPID with the identified client. Please change it.
025ERRORAMOUNT_EXCEEDEDThis AMOUNT is over max amount authorised
026ERRORUNKNOWNAn error occurred while processing. Please contact Buybox support.
027ERRORFAILEDIdentified client has no visual in database. Can’t create a card without visual.
029ERRORFAILEDCancellation of this kind of code is not possible technically
031ERRORFAILEDThis method can’t be requested because it doesn’t exist or it isn’t allowed to be called
032ERRORFAILEDAmount is lower than minimum amount allowed for current code
033ERRORFAILEDThis reference is already used. It can’t be used to create another user.
034ERRORFAILEDThis reference is already used. It can’t be used to create another shop.
035ERRORFAILEDThis shopName has not been found.
036ERRORFAILEDMore than one shop has been found.
037ERRORFAILEDThis shop doesn’t exist.
038ERRORFAILEDThis shop doesn’t exist.
039ERRORFAILEDThis shop criteria doesn't exist.
040ERRORFAILEDThis user doesn’t exist.
041ERRORFAILEDThis user doesn’t exist.
042ERRORFAILEDThis user doesn’t exist.
043ERRORFAILEDThis parameter is forbidden for this method and must be sent empty.
046ERRORFAILEDDebit is handled externally
047ERRORFAILEDYou cannot send twice the same CUSTOMREF.
048ERRORFAILEDMin 10 chars. Max 30 chars. Allowed chars: 0-9a-zA-Z_. Field is optional.
049ERRORFAILEDNo call to ActivateCard has been found with this custom reference.
050ERRORFAILEDCall to ActivateCard has been found with this custom reference but cannot be cancelled.
051ERRORFAILEDCall to ActivateCard has been found with this custom reference but cannot be cancelled.
053ERRORFAILEDDebit is handled externally so refund of a debit too.
054ERRORFAILEDThis refund type doesn't exist.
055ERRORFAILEDAmount has to be empty on a full refund.
056ERRORFAILEDCan't use this TRANSACTIONID with the identified client.
057ERRORFAILEDTransaction status doesn’t allow a refund.
058ERRORFAILEDTransaction balance doesn’t allow a refund.
062ERRORFAILEDMax 30 chars. Allowed chars: 0-9a-zA-Z_. Field is optional.
063ERRORFAILEDMax 250 characters. Field is optional.
TIMEOUTUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERTimeout while contacting partner
PARTNER_SERVER_ERRORUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived internal server error from partner
PARTNER_BAD_GATEWAYUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived bad gateway error from partner
PARTNER_UNAVAILABLEUNCERTAINTECHNICAL_ISSUE_TO_CONTACT_PARTNERReceived service unavailable error from partner